##
## Makefile for malloc in /home/peelou/SVN/Malloc/poney
## 
## Made by gery baudry
## Login   <baudry_g@epitech.net>
## 
## Started on  Wed Feb  6 11:59:53 2013 gery baudry
## Last update Thu Feb  7 14:19:28 2013 Maxime Wojciak
##

NAME= 		libmy_malloc_$(HOSTTYPE).so

SRCS=	 	malloc.c 	\
		free.c 		\
		realloc.c

OBJ=		$(SRCS:.c=.o)

CFLAGS=		-W -Wall -Werror -Wextra -fPIC

all:		$(NAME)

$(NAME): 	$(OBJ)
		gcc -shared -o $(NAME) $(OBJ)

clean:
		rm -vf $(NAME)

re: 		clean all
		rm -vf *.o